﻿<%@ Page Title="转发提案" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="AssignMotion.aspx.cs" Inherits="OUSMS.AssignMotion" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div class="topchannel">
        转发提案
    </div>
    <asp:FormView ID="motionDetailFormView" runat="server" Width="735px"
        ItemType="OUSMS.AppLogic.DataAccessLayer.Motions"
        SelectMethod="motionDetailFormView_GetItem">
        <ItemTemplate>
            <table class="table1" border="0" cellspacing="1" cellpadding="2">
                <tr class="row2">
                    <td><b>提案标题:</b></td>
                    <td colspan="3" align="center" style="font-weight: bold"><%# Item.Title %></td>
                </tr>
                <tr class="row1">
                    <td style="width: 10%"><b>研究类型:</b></td>
                    <td style="width: 40%"><%# Item.StudyAreas.Name %></td>
                    <td style="width: 10%"><b>提案类型:</b></td>
                    <td style="width: 40%"><%# Item.Type %></td>
                </tr>
                <tr class="row2">
                    <td><b>提交时间:</b></td>
                    <td><%# Item.SumbitDateTime.HasValue?Item.SumbitDateTime.Value.ToString("yyyy/MM/dd HH:mm"):"尚未提交"%></td>
                    <td><b>当前状态:</b></td>
                    <td><%# Item.Status%></td>
                </tr>
                <tr class="row1">
                    <td><b>关键词</b></td>
                    <td colspan="3"><%# Item.Keywords %></td>
                </tr>
                <tr class="row2">
                    <td colspan="4"><b>研究背景和选题意义</b></td>
                </tr>
                <tr class="row1">
                    <td colspan="4" style="padding: 10px" align="left"><%# System.Net.WebUtility.HtmlDecode(Item.Abstract) %></td>
                </tr>
                <tr class="row2">
                    <td colspan="4"><b>研究思路</b></td>
                </tr>
                <tr class="row1">
                    <td colspan="4" style="padding: 10px" align="left"><%# System.Net.WebUtility.HtmlDecode(Item.Content)  %></td>
                </tr>
                <tr class="row2">
                    <td colspan="4"><b>预期目标</b></td>
                </tr>
                <tr class="row1">
                    <td colspan="4" style="padding: 10px" align="left"><%# System.Net.WebUtility.HtmlDecode(Item.Target)  %></td>
                </tr>
                <tr class="row2">
                    <td colspan="4"><b>相关部门</b></td>
                </tr>
                <tr class="row1">
                    <td colspan="4" style="padding: 10px" align="left">
                        <%#departments %>
                    </td>
                </tr>
                <tr class="row2">
                    <td colspan="4" style="color: red"><b>转发</b></td>
                </tr>
                <tr>
                    <td colspan="4">
                        <ajaxToolkit:TabContainer ID="TabContainer" runat="server" Width="100%"
                            AutoPostBack="false" TabStripPlacement="Top">
                            <ajaxToolkit:TabPanel runat="server" ID="schoolLeaderTab" HeaderText="校领导">
                                <ContentTemplate>
                                    <asp:CheckBoxList ID="schooleLeaderChkboxList" runat="server" DataTextField="Text" DataValueField="ID" RepeatColumns="1"
                                        RepeatDirection="Horizontal" Width="100%">
                                    </asp:CheckBoxList>
                                </ContentTemplate>
                            </ajaxToolkit:TabPanel>
                            <ajaxToolkit:TabPanel runat="server" ID="departmentLeaderTab" HeaderText="部门领导">
                                <ContentTemplate>
                                    <asp:CheckBoxList ID="departmentLeaderCheckBoxList" runat="server" DataTextField="Text" DataValueField="ID" RepeatColumns="1"
                                        RepeatDirection="Horizontal" Width="100%">
                                    </asp:CheckBoxList>
                                </ContentTemplate>
                            </ajaxToolkit:TabPanel>
                            <ajaxToolkit:TabPanel runat="server" ID="expertTab" HeaderText="专家">
                                <ContentTemplate>
                                    <asp:CheckBoxList ID="expertCheckBoxList" runat="server" DataTextField="Text" DataValueField="ID" RepeatColumns="1"
                                        RepeatDirection="Horizontal" Width="100%">
                                    </asp:CheckBoxList>
                                </ContentTemplate>
                            </ajaxToolkit:TabPanel>
                        </ajaxToolkit:TabContainer>
                    </td>
                </tr>
                <tr class="row2">
                    <td colspan="2"><b>反馈截止日期：</b></td>
                    <td colspan="2">
                        <asp:TextBox ID="deadlineDateTextBox" runat="server" Width="85%" Height="25px"></asp:TextBox><asp:Image ID="icoImg" runat="server" ImageUrl="~/Styles/Images/ico-cal.png" />
                        <ajaxToolkit:CalendarExtender ID="CalendarExtender1" runat="server"
                            TargetControlID="deadlineDateTextBox" Format="yyyy/MM/dd" PopupButtonID="icoImg" />
                        <font color="red">*</font>
                    </td>
                </tr>
                <tr class="row1">
                    <td colspan="4">
                        <asp:Button ID="okBtn" runat="server" BackColor="Gray" Text="确  定" Width="80px" Height="25px" CausesValidation="true" OnClick="okBtn_Click" />&nbsp;&nbsp;
                            <asp:Button ID="backBtn" runat="server" BackColor="Gray" Text="返  回" Width="80px" Height="25px" CausesValidation="true" OnClick="backBtn_Click" /></td>
                </tr>
                <tr class="row2">
                    <td colspan="4">
                        <asp:ValidationSummary ID="ValidationSummary" runat="server" BorderStyle="Solid"
                            BorderColor="Red" DisplayMode="BulletList" HeaderText="信息提交失败，请按下述提示进行修改:"
                            BorderWidth="1px" ShowSummary="true" CssClass="validationsummary" />
                        <asp:Label ID="errorMsgLbl" runat="server" Visible="false" ForeColor="Red" BorderColor="Red"
                            BorderWidth="1px" BorderStyle="Solid" Width="100%" CssClass="validationsummary"></asp:Label>
                    </td>
                </tr>
            </table>
        </ItemTemplate>
    </asp:FormView>
</asp:Content>
